package com.yan.work;

import com.yan.domain.Dog;
import com.yan.domain.Penguin;

public class Test1 {
    public static void main(String[] args) {
        Dog dog = new Dog("欧欧" , 100 , 0 , "雪纳瑞");
        dog.print();
        Penguin penguin = new Penguin("楠楠" , 100 , 0 , "Q妹");
        penguin.print();
    }
}
